.class final Lnbisdk/ey;
.super Lnbisdk/gp;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lnbisdk/ck;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private synthetic hF:Lnbisdk/ck;


# direct methods
.method constructor <init>(Lnbisdk/ck;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    invoke-direct {p0}, Lnbisdk/gp;-><init>()V

    return-void
.end method


# virtual methods
.method public final locationUpdated(Lcom/nbi/location/Location;)V
    .locals 3

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iput-wide v1, v0, Lnbisdk/ck;->sq:J

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iput-object p1, v0, Lnbisdk/ck;->sp:Lcom/nbi/location/Location;

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iget-object v0, v0, Lnbisdk/ck;->ca:Lcom/nbi/common/NBIContext;

    invoke-static {v0}, Lnbisdk/bd;->d(Lcom/nbi/common/NBIContext;)Lnbisdk/cj;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-interface {v0}, Lnbisdk/cj;->isEnabled()Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iget-object v1, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iget-object v1, v1, Lnbisdk/ck;->sp:Lcom/nbi/location/Location;

    invoke-virtual {v0, v1}, Lnbisdk/ck;->d(Lcom/nbi/location/Location;)V

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    invoke-virtual {v0}, Lnbisdk/ck;->cancel()Z

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    const/4 v0, 0x1

    if-nez v0, :cond_0

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iget-object v1, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    iget-object v1, v1, Lnbisdk/ck;->sp:Lcom/nbi/location/Location;

    invoke-virtual {v0, v1}, Lnbisdk/ck;->d(Lcom/nbi/location/Location;)V

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    invoke-virtual {v0}, Lnbisdk/ck;->cancel()Z

    goto :goto_0
.end method

.method public final onLocationError(I)V
    .locals 2

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lnbisdk/ck;->st:Z

    iget-object v0, p0, Lnbisdk/ey;->hF:Lnbisdk/ck;

    invoke-static {p1}, Lnbisdk/ck;->aV(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lnbisdk/ck;->aU(I)V

    return-void
.end method
